-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postponed: Add MSVC setup to CI #210
base: main
Are you sure you want to change the base?
Conversation
.github/workflows/demo-windows.yml
Outdated
$v = $_.split("=", 2) | ||
|
||
if ($($v[0]) -match "Path") { | ||
echo "$($v[0])=$($v[1]);C:\msys64\usr\bin" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf8 -Append |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleanup this case. We are adding msys64 at the very last in the Path
such that binaries like link.exe
have a higher priority
- name: Show bash PATH | ||
shell: powershell | ||
run: bash -c 'echo $PATH' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: Currently the git bash is executed here. The Git bash also has a link.exe
. Make sure that either Git bash or msys2 bash both prefer using the link.exe
from MSVC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idea: Use powershell to write to .bashrc and overwrite at least PATH
variable.
This setups the MSVC compiler in our CI. Right now we do not need it.
But as soon as we link for example against SQLite or OpenSSL we might need it again.
💻 Examples
🚨 Test instructions
✔️ PR Todo